<template>
  <div class="success-sign">
      <div class="success-sign-top">
          <img :src="okImg" alt="">
          <p>恭喜您，签署成功</p>
      </div>
      <div class="success-sign-btn" @click="invest">立即出借</div>
      <div class="success-sign-btn-home" @click="returnHome">返回首页</div>
  </div>
</template>

<script>
  export default {
    data () {
      return {
        okImg: require('assets/qianshu_ok@3x.png')
      }
    },
    methods: {
      invest () {
        this.$router.push('/invest')
      },
      returnHome () {
        this.$router.push('/home')
      }
    }
  }
</script>

<style lang='scss'>
  @import '../../common/scss/_variable.scss';

  .success-sign {
    padding-top: 130px;
    text-align: center;
    &-top {
      img {
        width: 95px;
        height: 79px;
      }
      p {
        margin-top: 60px;
        font-size: 48px;
        color: $base-ff6c00;
      }
    }
    &-btn {
      display: block;
      border: none;
      outline: none;
      width: 570px;
      height: 90px;
      line-height: 98px;
      margin: 100px auto 60px auto;
      background: $base-ff6c00;
      color: $base-fff;
      font-size: 36px;
      border-radius: 100px;
      &-home {
        font-size: 36px;
        color: $base-ff6c00;
        text-decoration: underline;
      }
    }
  }
</style>
